package com.neo.mapper;

import java.util.List;

import com.neo.entity.FoodEntity;
import com.neo.entity.FoodtasetEntity;
import com.neo.entity.ShopfoodSizeEntity;

/**
 * 获取所有菜品和分类
 * @author Administrator
 *
 */
public interface FoodMapper{
	
	List<FoodEntity> getFood(Integer merchantid, Integer shopid);
/**
 * 获取菜品ip
 * @param id
 * @param shopId
 * @param merchantid 
 * @return
 */
	List<ShopfoodSizeEntity> getFoodSize(Integer id, Integer shopId);

	/**
	 * 获取菜品口味
	 * @param valueOf
	 * @param merchantid
	 * @return
	 */
List<FoodtasetEntity> getFoodTaste(Integer valueOf, Integer merchantid);

/**
 * 根据门店id获取门店名字
 * @param shopid 
 * @param merchantid 
 * @return
 */
	String getFoodnameByFoodid(Integer merchantid, Integer shopid);
	/**
	 * 获取当前座位的id
	 * @param tableid
	 * @param merchantid
	 * @param shopid
	 * @return
	 */
String getTablenameByTableId(Integer tableid, Integer merchantid, Integer shopid);
}